package com.xingkeduo.feign;

import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@EnableDiscoveryClient
@EnableFeignClients
@FeignClient(value = "business-operation")
public interface OperationFeignService {

	// 查询发型列表 主要返回主键id和服务名称
	@GetMapping("/cms/op/manager/{urlParam}")
	public String getManager(
			@PathVariable("urlParam") String urlParam);

}
